Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Urgent: Create Mailfile (AdminP action) doesn't work after upgraded to R601
~Mario Quetfanasteretsi 19.Nov.03 09:59 PM a Web browser
Domino Administrator 6.0.1 CF1 Windows 2000


It is nothing happened! (no error and no action at all). AdminP is running ok by using manual way to register user with selecting create mailfile by Adminp.

I am thinking R6 has introduced some new fields for AdminP request and don't know what. The new AdminP class doesn't have the method to create mailfile.

I am attaching the code below, it was working OK on R5 server.

Sub adminPReqCreateMail
' Create AdminP Document for creating new users mail-file
'

If dbAdminP Is Nothing Then
Set dbAdminP = New NotesDatabase (docLog.regMailServer(0),"Admin4.NSF")
'Set dbAdminP = New NotesDatabase (docPerson.MailServer(0),"admin4.NSF")
End If
Dim admDoc As New NotesDocument (dbAdminP)
Dim admItem As NotesItem

'set field values -----------------------------------------------

'fixed values
admDoc.Form="AdminRequest"
admDoc.ProxyAction = "24"
admDoc.ProxyProcess = "Adminp"
admDoc.Type = "AdminRequest"

admDoc.ProxyAuthor = s.Username

'Mail path (i.e. "Mail\TTEST")
'admDoc.ProxyDatabasePath = mailFilePath$
admDoc.ProxyDatabasePath = doclog.UserMailDir(0)
'New users name
'admDoc.ProxyNameList = "CN=" + Fname + " " + LName + "/OU=Test/O=Acme"
admDoc.ProxyNameList = doclog.Fullname(0)

'users mail server
admDoc.ProxyServer = docLog.regMailServer(0)
admDoc.ProxySourceServer = docLog.regMailServer(0)

'Sign field and set field flags
Set admItem = admDoc.GetFirstItem( "ProxyAction")
admItem.IsSigned = True
admItem.IsProtected = True

If doclog.MailTemplate(0) = "" Then
admDoc.ProxyTextItem1 = genProfileDoc.MailTemplate(0)
Else
admDoc.ProxyTextItem1 = doclog.MailTemplate(0)
End If
Set admItem = admDoc.GetFirstItem( "ProxyTextItem1")
admItem.IsSigned = True
admItem.IsProtected = True


Set admItem = admDoc.GetFirstItem( "ProxyAuthor")
admItem.IsSigned = True
admItem.IsAuthors = True
Set admItem = admDoc.GetFirstItem( "ProxyDatabasePath")
admItem.IsSigned = True
Set admItem = admDoc.GetFirstItem( "ProxyNameList")
admItem.IsSigned = True
admItem.IsNames = True
Set admItem = admDoc.GetFirstItem( "ProxyProcess")
admItem.IsSigned = True
admItem.IsProtected = True
Set admItem = admDoc.GetFirstItem( "ProxyServer")
admItem.IsSigned = True
admItem.IsNames = True
Set admItem = admDoc.GetFirstItem( "ProxySourceServer")
admItem.IsSigned = True
admItem.IsNames = True
Set admItem = admDoc.GetFirstItem( "Type")
admItem.IsSigned = True
admItem.IsProtected = True


admDoc.ProxyCreateFullTextIndex = "0"
Set admItem = admDoc.GetFirstItem( "ProxyCreateFullTextIndex")
admItem.IsSigned = True
admItem.IsProtected = True

admDoc.ProxyMailfileAccessLevel = "0"
Set admItem = admDoc.GetFirstItem( "ProxyMailfileAccessLevel")
admItem.IsSigned = True
admItem.IsProtected = True


'sign document
Call admDoc.Sign
'save document
Call admDoc.Save (True,False)

End Sub




Urgent: Create Mailfile (AdminP act... (~Mario Quetfana... 19.Nov.03)
. . RE: Urgent: Create Mailfile (AdminP... (~Tony Frokizenf... 19.Nov.03)
. . . . RE: Urgent: Create Mailfile (AdminP... (~Mario Quetfana... 19.Nov.03)
. . . . . . RE: Urgent: Create Mailfile (AdminP... (~Tony Frokizenf... 20.Nov.03)
. . . . . . . . RE: Urgent: Create Mailfile (AdminP... (~Mario Quetfana... 21.Nov.03)
. . RE: Urgent: Create Mailfile (AdminP... (~Michelle Chubo... 10.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS